.app-wrapper {
  width: 100%;
  background-color: white;
  padding: 12px 20px;
  border-radius: 4px;
  color: $text-primary;
  box-sizing: border-box;
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.12);
  overflow: hidden;

  .el-table__fixed-right {
    background-color: #fff;
  }
}

.app-form-wrapper {
  padding-bottom: 60px;
}

.app-table-wrapper {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 114px - 30px);
}

.app-tabs-wrapper {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 114px - 30px - 120px);
}

.global-search-wrapper {
  .primary-input {
    width: 270px;
  }

  .primary-select {
    width: 140px;
  }

  .big-select {
    width: 200px;
  }

  .small-input {
    width: 100px;
  }

  .search-option {
    margin-right: 10px;
    margin-bottom: 10px;
  }

  .search-item {
    width: 100%;
    @include flex-space-between-vertical;

    .left {
      @include flex-row-vertical;
    }

    .right {
      @include flex-row-vertical;
    }
  }
}

.action-link {
  vertical-align: middle;
  text-decoration: none;
  outline: none;
  cursor: pointer;
  padding: 0;
  font-size: 14px;
  color: $primary;

  &:hover {
    color: $primary-hover;
  }

  &.warning {
    color: $warning;

    &:hover {
      color: $warning-hover;
    }
  }

  &.danger {
    color: $danger;

    &:hover {
      color: $danger-hover;
    }
  }

  &.disabled {
    color: $info;
    cursor: not-allowed;
    &:hover {
      color: $info-hover;
    }
  }
}

.page-footer {
  @include flex-space-between-vertical;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  padding: 10px 24px;
  line-height: 44px;
  background-color: white;
  border-top: 1px solid #eee;
  box-shadow: 0 -6px 16px -8px rgb(0 0 0 / 8%), 0 -9px 28px 0 rgb(0 0 0 / 5%), 0 -12px 48px 16px rgb(0 0 0 / 3%);
  transition: width 0.2s;

  &__left {
    @include flex-row-vertical;
  }

  &__right {
    @include flex-row-vertical;
  }
}

.line-ellipsis-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /*! autoprefixer: off */
  -webkit-box-orient: vertical;
}

.flex-column-horizontal {
  @include flex-column-horizontal;
}
.flex-center {
  @include flex-center;
}

// 系数样式
.channel-style {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  text-align: center;
  line-height: 22px;
  margin: 0 2px;
  font-size: 12px;
}

.channel-style.bg-green {
  background-color: $success !important;
  border-color: $success !important;
  color: #fff !important;
}

.channel-style.bg-red {
  background-color: $danger !important;
  border-color: $danger !important;
  color: #fff !important;
}

.success {
  color: $success;
}
.warning {
  color: $warning;
}
.danger {
  color: $danger;
}
.error {
  color: $error;
}
.info {
  color: $info;
}

.el-date-editor.el-date-editor--datetimerange {
  min-width: 360px;
}

.tangram-suggestion-main {
  z-index: 9999 !important;
}
